var wait=0;
function searchInfo(){
    if(wait == 0){
        $("#btn_send_sms").linkbutton("enable");
        document.getElementById("showInfo").innerHTML="获取验证码";
        wait=60;
    } else {
        $("#btn_send_sms").linkbutton("disable");
        document.getElementById("showInfo").innerHTML=wait+"秒后可以重新发送";
        wait--;
        setTimeout(function(){searchInfo()},1000);//1000是1秒
    }
}